<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <script>
            myAppModule.factory('CreditCard', ['$resource', function($resource) { 
                return $resource('/usr/:userId/card/:cardId'
            },
            {userId: 123, cardId: '@id'},
￼￼          {charge: {method: 'POST', params: {charge: true}, isArray: false});
            }]);  
        </script>
    </head>
    <body>
        <div>TODO write content</div>
    </body>
</html>
